import request from '@/utils/request'
// -------- 内容模块 -- 法规 --------

let BASE_ADDRESS = '/doc/law'

//  分页查询
export function getLawListApi(params) {
    return request({
        url: `${BASE_ADDRESS}/list`,
        method: "get",
        params
    })
}

// 根据id查询
export function getLawInfoApi(params) {
    return request({
        url: `${BASE_ADDRESS}/getInfo`,
        method: "get",
        params
    })
}